from django.contrib import admin

# Register your models here.

from . import models

class SlaveImagesAdmin(admin.ModelAdmin):
    pass

class ProductAdmin(admin.ModelAdmin):
    pass

class ProductInstanceAdmin(admin.ModelAdmin):
    class Media:
        js = (
            '/static/kindeditor-4.1.10/kindeditor-min.js',
            '/static/kindeditor-4.1.10/lang/zh_CN.js',
            '/static/kindeditor-4.1.10/config.js',
        )


admin.site.register(models.SlaveImages, SlaveImagesAdmin)
admin.site.register(models.Product, ProductAdmin)
admin.site.register(models.ProductInstance, ProductInstanceAdmin)